<div class="box box-maxbid">
	<!-- form start -->
	 <div class="overlay" ng-show="hideform"></div>
    <div class="loading-img" ng-show="hideform"></div>
	
	<form role="form" name="boletoForm">
		<div class="box-body">
			<div class="form-group row">
			   
			   <div class="col-md-3 col-xs-4">
					<label for="InputTipo">CONTAS</label> 
					
					<select required class="form-control" ng-model="boleto.CONTA_ID" ng-options="ct.ID as ct.CONTA for ct in contas">
					     <option value="">Selecione uma conta</option>
					</select>
					
				</div>
				<div class="col-md-1 col-xs-2">
					<label for="InputTipo">PRAZO</label> 
					<input ng-model="boleto.PRAZO" required name="PRAZO" class="form-control"  />

				</div>
				<div class="col-md-1 col-xs-2">
					<label for="InputTipo">CARTEIRA</label> 
					<input ng-model="boleto.CARTEIRA" required name="CARTEIRA" class="form-control"  />

				</div>
				
				<div class="col-md-1 col-xs-2">
					<label for="InputTipo">TAXA</label> 
					<input ng-model="boleto.TAXA" required name="TAXA" class="form-control"  />

				</div>
				
				
		
			</div>
			<hr/>
			<div class="form-group row">
			  <div class="col-md-6 col-xs-6">
					<label for="InputTipo">NOME DA EMPRESA NO BOLETO</label> 
					<input ng-model="boleto.RAZAO" required name="RAZAO" class="form-control"  />

				</div>
				
				<div class="col-md-3 col-xs-4">
					<label for="InputTipo">CNPJ DA EMPRESA</label> 
					<input ng-model="boleto.CNPJ" required name="CNPJ" class="form-control"  />

				</div>
			</div>
			<div class="form-group row">
				
			  <div class="col-md-6 col-xs-6">
					<label for="InputTipo">ENDEREÇO DA EMPRESA</label> 
					<input ng-model="boleto.LOGRADOURO" required name="LOGRADOURO" class="form-control"  />

				</div>
				<div class="col-md-4 col-xs-4">
					<label for="InputTipo">CIDADE</label> 
					<input ng-model="boleto.CIDADE" required name="CIDADE" class="form-control"  />

				</div>
				<div class="col-md-1 col-xs-2">
					<label for="InputTipo">UF</label> 
					<input ng-model="boleto.UF" required name="UF" maxlength="2" class="form-control"  />

				</div>
			
			</div>
            <hr/>
            
            <div class="form-group row">
			  <div class="col-md-12 col-xs-12">
					<label for="InputTipo">INSTRUÇÃO 1 DO BOLETO</label> 
					<input ng-model="boleto.INSTRUCAO_1" required name="INSTRUCAO_1" class="form-control"  />
		      </div>
			  <div class="col-md-12 col-xs-12">
					<label for="InputTipo">INSTRUÇÃO 2 DO BOLETO</label> 
					<input ng-model="boleto.INSTRUCAO_2"  name="INSTRUCAO_2" class="form-control"  />
		      </div>
		      
		      <div class="col-md-12 col-xs-12">
					<label for="InputTipo">INSTRUÇÃO 3 DO BOLETO</label> 
					<input ng-model="boleto.INSTRUCAO_3"  name="INSTRUCAO_3" class="form-control"  />
		      </div>	
				
				
			</div>
            
            
            <div class="form-group row">
			  <div class="col-md-12 col-xs-12">
					<label for="InputTipo">DEMONSTRATIVO 1 DO BOLETO</label> 
					<input ng-model="boleto.DEMONSTRATIVO_1" name="DEMONSTRATIVO_1" class="form-control"  />
		      </div>
			  <div class="col-md-12 col-xs-12">
					<label for="InputTipo">DEMONSTRATIVO 2 DO BOLETO</label> 
					<input ng-model="boleto.DEMONSTRATIVO_2"  name="DEMONSTRATIVO_2" class="form-control"  />
		      </div>
		      
		      <div class="col-md-12 col-xs-12">
					<label for="InputTipo">DEMONSTRATIVO 3 DO BOLETO</label> 
					<input ng-model="boleto.DEMONSTRATIVO_3"  name="DEMONSTRATIVO_3" class="form-control"  />
		      </div>	
				
				
			</div>
            
			<div class="box-footer">
			 
				<button type="submit" ng-disabled="boletoForm.$invalid"
					ng-click="save()" class="btn btn-primary">Salvar</button>
					
					<button type="submit" ng-disabled="boletoForm.$invalid"
					ng-click="save('/billets')" class="btn btn-primary">Salvar e Listar</button>
					

				<a href="#/billets" class="btn btn-danger">Cancelar</a>
				
			</div>
	
	</form>
</div>
<!-- /.box -->
